package com.grapro.thesis.domain;

import com.grapro.system.domain.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.grapro.common.annotation.Excel;
import com.grapro.common.core.domain.BaseEntity;

/**
 * 学生选题对象 thesis_mapping
 * 
 * @author ruoyi
 * @date 2020-08-17
 */
public class ThesisMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 双选确认id */
    private Long tmId;

    /** 题目id */
    @Excel(name = "题目id")
    private Long thesisId;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    private String academicYear;

    private ThesisTitle thesisTitle;

    private SysUser teacherUser;

    private SysUser studentUser;

    /** 指导内容 */
    @Excel(name = "指导内容")
    private String guideContent;

    /** 删除标志 : 删除标志 */
    private String delFlag;

    public void setTmId(Long tmId) 
    {
        this.tmId = tmId;
    }

    public Long getTmId() 
    {
        return tmId;
    }
    public void setThesisId(Long thesisId) 
    {
        this.thesisId = thesisId;
    }

    public Long getThesisId() 
    {
        return thesisId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setGuideContent(String guideContent) 
    {
        this.guideContent = guideContent;
    }

    public String getGuideContent() 
    {
        return guideContent;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getAcademicYear() {
        return academicYear;
    }

    public void setAcademicYear(String academicYear) {
        this.academicYear = academicYear;
    }

    public ThesisTitle getThesisTitle() {
        return thesisTitle;
    }

    public void setThesisTitle(ThesisTitle thesisTitle) {
        this.thesisTitle = thesisTitle;
    }

    public SysUser getTeacherUser() {
        return teacherUser;
    }

    public void setTeacherUser(SysUser teacherUser) {
        this.teacherUser = teacherUser;
    }

    public SysUser getStudentUser() {
        return studentUser;
    }

    public void setStudentUser(SysUser studentUser) {
        this.studentUser = studentUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tmId", getTmId())
            .append("thesisId", getThesisId())
            .append("teacherId", getTeacherId())
            .append("studentId", getStudentId())
            .append("guideContent", getGuideContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
